const logs = {
    "timestamp": "2021-08-03T11:25:29+0800",
    "code": "0",
    "message": "成功",
    "data": {
        "total": 5,
        "paged": true,
        "page": 1,
        "perPage": 20,
        "totalPages": 1,
        "search": null,
        "results": [
            {
                "id": 1,
                "action": "客户端创建",
                "status": "false",
                "result": "done",
                "module": "客户端管理",
                "userId": null,
                "rollbackFlag": "false",
                "detailShort": "0",
                "createdAt": "2021-08-02T09:30:19.714794Z",
                "updatedAt": "2021-08-02T09:30:22.307547Z"
            },
            {
                "id": 2,
                "action": "客户端创建",
                "status": "false",
                "result": "done",
                "module": "客户端管理",
                "userId": null,
                "rollbackFlag": "false",
                "detailShort": "0",
                "createdAt": "2021-08-02T09:31:20.960241Z",
                "updatedAt": "2021-08-02T09:31:23.561561Z"
            },
            {
                "id": 3,
                "action": "客户端创建",
                "status": "running",
                "result": "done",
                "module": "客户端管理",
                "userId": null,
                "rollbackFlag": "false",
                "detailShort": "0",
                "createdAt": "2021-08-02T09:32:15.884083Z",
                "updatedAt": "2021-08-02T09:32:15.917065Z"
            },
            {
                "id": 4,
                "action": "客户端创建",
                "status": "pending",
                "result": "",
                "module": "客户端管理",
                "userId": null,
                "rollbackFlag": "false",
                "detailShort": null,
                "createdAt": "2021-08-02T09:33:40.481825Z",
                "updatedAt": "2021-08-02T09:33:40.481826Z"
            },
            {
                "id": 5,
                "action": "客户端创建",
                "status": "pending",
                "result": "",
                "module": "客户端管理",
                "userId": null,
                "rollbackFlag": "false",
                "detailShort": null,
                "createdAt": "2021-08-03T01:30:34.708880Z",
                "updatedAt": "2021-08-03T01:30:34.708881Z"
            }
        ]
    }
}

const logSub = {
    "timestamp": "2021-08-03T11:27:05+0800",
    "code": "0",
    "message": "成功",
    "data": {
        "id": 1,
        "action": "客户端创建",
        "status": "false",
        "result": "done",
        "module": "客户端管理",
        "userId": null,
        "rollbackFlag": "false",
        "detail": "0",
        "createdAt": "2021-08-02T09:30:19.714794Z",
        "updatedAt": "2021-08-02T09:30:22.307547Z",
        "kylinSubLogs": [
            {
                "id": 1,
                "action": "客户端创建",
                "status": "false",
                "result": "done",
                "module": "客户端管理",
                "rollbackFlag": "false",
                "detailShort": "0",
                "detail": "",
                "parentId": 1,
                "userId": null,
                "createdAt": "2021-08-02T09:30:19.762249Z",
                "updatedAt": "2021-08-02T09:30:22.304579Z",
                "ip": "10.1.110.161",
                "system": null,
                "version": null,
                "arch": null,
                "scriptTemplateId": null,
                "scriptExectionId": null,
                "scriptContent": null,
                "scriptRet": null,
                "scriptCreationUser": null
            }
        ]
    }
}

const logDetail = {
    "timestamp": "2021-08-03T11:27:39+0800",
    "code": "0",
    "message": "成功",
    "data": {
        "total": 1,
        "paged": true,
        "page": 1,
        "perPage": 20,
        "totalPages": 1,
        "search": null,
        "results": [
            {
                "id": 1,
                "action": "客户端创建",
                "status": "false",
                "result": "done",
                "module": "客户端管理",
                "rollbackFlag": "false",
                "detailShort": "0",
                "detail": "",
                "parentId": 1,
                "userId": null,
                "createdAt": "2021-08-02T09:30:19.762249Z",
                "updatedAt": "2021-08-02T09:30:22.304579Z",
                "ip": "10.1.110.161",
                "system": null,
                "version": null,
                "arch": null,
                "scriptTemplateId": null,
                "scriptExectionId": null,
                "scriptContent": null,
                "scriptRet": null,
                "scriptCreationUser": null
            }
        ]
    }
}

export default {
    getLogs: () => {
        return logs
    },
    getLogSub: () => {
        return logSub
    },
    getLogDetail: () => {
        return logDetail
    }
}